﻿using System.Data.SqlClient;
using EasyGo.Domain.Model;
using System.Collections.Generic;
using EasyGo.Domain.Projections;

namespace EasyGo.Data.Dao
{
    public interface IUserAccountDao
    {
        UserInfo ValidateUser(string email, string pass);

        int CreateUser(UserAccount command);

        IEnumerable<ListUser> GetAllListUsers();

        UserAccount GetUser(int id);
    }
}
